package com.ohs.ohsoa.system.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ohs.ohsoa.system.dto.DepartmentDto;
import com.ohs.ohsoa.system.entity.Department;
import com.ohs.ohsoa.system.vo.DepartmentVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


@Mapper
public interface DepartmentMapper extends BaseMapper<Department> {

    /**获取部门列表信息
     *
     * @param departmentDto 部门列表信息
     * @return 部门列表信息
     */
    List<DepartmentVo> departmentSelectList(@Param("departmentDto") DepartmentDto departmentDto);

    /**删除部门
     *
     * @return 删除结果
     * @param departGuids 部门信息
     */
    Boolean departmentDelete(@Param("departGuids") List<String> departGuids);
}